package com.rj2002.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class Goodstype implements Serializable {
    private Integer id;

    /**
     * 类型名称
     */
    private String typename;

    /**
     * 级别（0父级或1子级）
     */
    private Integer typelevel;

    /**
     * 父级id
     */
    private Integer parentid;

    /**
     * flag（是否有效,0无效，1有效）
     */
    private Integer flag;

    private Date createtime;

    private Date updatetime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Integer getTypelevel() {
        return typelevel;
    }

    public void setTypelevel(Integer typelevel) {
        this.typelevel = typelevel;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

	@Override
	public String toString() {
		return "Goodstype [id=" + id + ", typename=" + typename + ", typelevel=" + typelevel + ", parentid=" + parentid
				+ ", flag=" + flag + ", createtime=" + createtime + ", updatetime=" + updatetime + "]";
	}
    
    
}